package cn.edu.sanxiau.www.model;

public class Permission {
	// 权限ID
	private int permissionId;
	// 父ID
	private int pId;
	// 名称
	private String name;
	// 类型
	private String type;
	// url
	private String url;
	// 状态
	private String state;

	public int getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(int permissionId) {
		this.permissionId = permissionId;
	}

	public int getpId() {
		return pId;
	}

	public void setpId(int pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Permission [permissionId=" + permissionId + ", pId=" + pId + ", name=" + name + ", type=" + type
				+ ", url=" + url + ", state=" + state + "]";
	}

}
